package com.salinity.kun.task;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

import com.salinity.kun.algorithm.harmonic.InitialPhase;
import com.salinity.kun.algorithm.harmonic.TideSymbol;
import com.salinity.kun.helper.ConstantHelper;

public class LvHuaShanHATask {

	public static void main(String[] args) {

		SimpleDateFormat sdf = ConstantHelper.getDateFormat();

		Date date;
		try {
			date = sdf.parse("2005/1/1 0:0:0");
			TideSymbol tideSymbol = TideSymbol.M2;
			InitialPhase ip = new InitialPhase(date, tideSymbol);
			System.out.println(ip.getN1());

			double m[][] = { { 149.3, 4.2, 108.1, 15.9 },
					{},};

		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}
}
